﻿using System.ComponentModel.DataAnnotations;
using JStore.Core.Enums;

namespace JStore.Web.Controllers.Users.ViewModels
{
    public class RegisterModel
    {
        [Display(Name = "消费类型：")]
        public CardClass CardClass { get; set; }

        [Display(Name = "消费种类：")]
        public int CardType { get; set; }

        [Display(Name = "会员账号：")]
        public string UserName { get; set; }

        [Display(Name = "登录密码："), Required]
        public string Password { get; set; }

        [Display(Name = "确认密码："), Required]
        public string ConfirmPassword { get; set; }

        [Display(Name = "真实姓名："), Required]
        public string Name { get; set; }

        [Display(Name = "联系电话："), Required]
        public string Phone { get; set; }

        [Display(Name = "联系地址："), Required]
        public string Address { get; set; }

        [Display(Name = "手机号码："), Required]
        public string Mobile { get; set; }

        [Display(Name = "批发商："), Required]
        public string JdUserName { get; set; }

        [Display(Name = "零售商："), Required]
        public string TjUserName { get; set; }

        [Display(Name = "顺序号：")]
        public int JdSort { get; set; }

        [Display(Name = "消费金额：")]
        public decimal JoinMoney { get; set; }

        [Display(Name = "实消金额：")]
        public decimal RealMoney { get; set; }
    }
}